//
//  LogoView.swift
//  Example
//
//  Created by xx on 2025/3/17.
//

import UIKit
import FastSwiftSDK

class LogoView: FastView {
    
    private lazy var lbl_title : FastLabel = {
        let lbl =  FastLabel.init("诗野岛AI雪堂")
        lbl.textAlignment = .center
        lbl.textColor = .gray
        self.addSubview(lbl)
        return  lbl
    } ()
    private lazy var img_logo : UIImageView = {
        let img =  UIImageView.init(image: kImage("logo"))
        self.addSubview(img)
        return  img
    } ()
    override func setupUI() {
        self.isUserInteractionEnabled = false
        self.alpha = 0.7
    }
    override func layoutSubviews() {
        self.img_logo.snp.makeConstraints { make in
            make.top.equalToSuperview()
            make.centerX.equalToSuperview()
            make.size.equalTo(50)
        }
        self.lbl_title.snp.makeConstraints { make in
            make.top.equalTo(self.img_logo.snp.bottom)
            make.left.bottom.right.equalToSuperview()
        }
    }
    
    
}
